cmake

Configure and build a Cmake project at the given paths.

void
cmake
(
string rootDir = getcwd()
,
string buildDir = buildPath(getcwd(), "./build")
,)

Parameters

rootDir string

The root path which includes CMakeLists.txt

buildDir string

The building directory path

options CmakeOptions

The options used for CMake

Meta